$highlight_theme = hexo-config('highlight_theme')
if $highlight_theme == 'light'
  $highlight-deletion = #fdd
  $highlight-addition = #dfd
else
  $highlight-deletion = #008000
  $highlight-addition = #800000

random-color($min, $max) {
  return floor(math(0, 'random') * ($max - $min + 1) + $min);
}

$code-font = consolas, Menlo, "PingFang SC", "Microsoft YaHei", monospace, Helvetica Neue For Number
$line-height-code-block = .20rem
$code-font-size = .14rem

$code-foreground = $color-font
$code-background = $rgba-color
$blockquote-padding-color = $color-sub-theme
//$blockquote-padding-color = rgb(random-color(0, 255), random-color(0, 255), random-color(0, 255))
$blockquote-color = #6a737d

$highlight-background = #292D3E
$highlight-current-line = #393939
$highlight-selection = #717CB4
$highlight-foreground = #A6ACCD
$highlight-comment = #676E95
$highlight-red = #FF5370
$highlight-orange = #F78C6C
$highlight-yellow = #FFCB6B
$highlight-green = #C3E88D
$highlight-aqua = #89DDFF
$highlight-blue = #82AAFF
$highlight-purple = #C792EA
$highlight-gutter = {
    color: #3A3F58,
    bg-color: $highlight-background
  }

//
//$highlight_theme = hexo-config("highlight_theme")
//
//if $highlight_theme == "default"
//  $highlight-background = #263238
//  $highlight-current-line = #efefef
//  $highlight-selection = #80CBC420
//  $highlight-foreground = #EEFFFF
//  $highlight-comment = #546E7A
//  $highlight-red = #FF5370
//  $highlight-orange = #F78C6C
//  $highlight-yellow = #FFCB6B
//  $highlight-green = #C3E88D
//  $highlight-aqua = #89DDFF
//  $highlight-blue = #82AAFF
//  $highlight-purple = #C792EA
//  $highlight-gutter = {
//    color: #37474F,
//    bg-color: $highlight-background
//  }
//
//if $highlight_theme == "darker"
//  $highlight-background = #212121
//  $highlight-current-line = #282a2e
//  $highlight-selection = #61616150
//  $highlight-foreground = #EEFFFF
//  $highlight-comment = #4A4A4A
//  $highlight-red = #FF5370
//  $highlight-orange = #F78C6C
//  $highlight-yellow = #FFCB6B
//  $highlight-green = #C3E88D
//  $highlight-aqua = #89DDFF
//  $highlight-blue = #82AAFF
//  $highlight-purple = #C792EA
//  $highlight-gutter = {
//    color: #424242,
//    bg-color: $highlight-background
//  }
//
//if $highlight_theme == "pale night"
//  $highlight-background = #292D3E
//  $highlight-current-line = #393939
//  $highlight-selection = #717CB450
//  $highlight-foreground = #A6ACCD
//  $highlight-comment = #676E95
//  $highlight-red = #FF5370
//  $highlight-orange = #F78C6C
//  $highlight-yellow = #FFCB6B
//  $highlight-green = #C3E88D
//  $highlight-aqua = #89DDFF
//  $highlight-blue = #82AAFF
//  $highlight-purple = #C792EA
//  $highlight-gutter = {
//    color: #3A3F58,
//    bg-color: $highlight-background
//  }
//
//if $highlight_theme == "ocean"
//  $highlight-background = #0F111A
//  $highlight-current-line = #000000
//  $highlight-selection = #717CB450
//  $highlight-foreground = #8F93A2
//  $highlight-comment = #464B5D
//  $highlight-red = #FF5370
//  $highlight-orange = #F78C6C
//  $highlight-yellow = #FFCB6B
//  $highlight-green = #C3E88D
//  $highlight-aqua = #89DDFF
//  $highlight-blue = #82AAFF
//  $highlight-purple = #C792EA
//  $highlight-gutter = {
//    color: #3B3F5180,
//    bg-color: $highlight-background
//  }
//
//if $highlight_theme == "light"
//  $highlight-background = #F6F8FA
//  $highlight-current-line = #00346e
//  $highlight-selection = #80CBC440
//  $highlight-foreground = #90A4AE
//  $highlight-comment = #90A4AE90
//  $highlight-red = #E53935
//  $highlight-orange = #F76D47
//  $highlight-yellow = #FFB62C
//  $highlight-green = #91B859
//  $highlight-aqua = #39ADB5
//  $highlight-blue = #6182B8
//  $highlight-purple = #7C4DFF
//  $highlight-gutter = {
//    color: #CFD8DC,
//    bg-color: $highlight-background
//  }
